package com.service;

import com.domain.Announcement;
import com.entity.PageResult;

public interface AnnouncementService {
     //显示公告
    public PageResult searchAnnouncement(int pageNum, int PageSize);  //查看留言
    //查看公告
    public Announcement findById(String id);

    //增加公告
    public Integer addannouncement(Announcement announcement);

    //删除公告
    boolean delAnnouncement(String id);

    //编辑公告
    boolean editAnnouncement(Announcement announcement);
}
